package org.colcon.web.client.ui.link;

import org.colcon.web.client.Collective_Congress;
import org.colcon.web.client.ui.ClickablePanel;
import org.colcon.web.client.ui.panel.LoginPanel;

public class LoginLink extends ClickablePanel
{
	public LoginLink(Collective_Congress client)
	{
		super(client, "user-item", "login");
	}
	
	public void click()
	{
		getBodyPanel().clear();
		LoginPanel loginPanel = new LoginPanel(getClient());
		getBodyPanel().add(loginPanel);
	}
}
